package org.tedu.weibo.mapper;

import org.tedu.weibo.pojo.entity.User;
import org.tedu.weibo.pojo.entity.Weibo;
import org.tedu.weibo.pojo.vo.WeiboDetailVO;
import org.tedu.weibo.pojo.vo.WeiboIndexVO;

import java.util.List;

public interface WeiboMapper {
    int insert(Weibo weibo);

    List<WeiboIndexVO> selectIndex();

    List<WeiboDetailVO> selectById(int id);

    WeiboDetailVO selectWeiboById(int id, String name);
}
